<html>
    <head>
        <title>Jynxit</title>
        <? echo html::stylesheet('/media/css/main.css'); ?>
        <? echo html::script('/media/js/mootools.js'); ?>
    </head>
    <body>
        <table id="main-table">
            <tr>
                <td id="header">Welcome <? echo $user; ?></td>
            </tr>
            <tr>
                <td id="side-bar">
                    <table id="tab-table">
                        <tr id="side-bar-tabs">
                            <td class="side-bar-tab" onClick="$('search').slide('hide');"> Search</td>
                            <td class="side-bar-tab">Add Event</td>
                        </tr>
                        <tr id="side-bar-content">
                            <td>
                                <div id="search" class="active"><? echo $search ?></div>
                                <div id="new-event" class="hidden"><? echo $newevent ?></div>
                            </td>
                        </tr>
                    </table>
                </td>
                <td id="calendar-container"><? echo $calendar; ?></td>
            <tr>
        </table>
    </body>
</html>
